import request from 'utils/request';

export const loginApi = (data) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data,
  });
};

export const getUserInfoApi = () => {
  return request({
    url: '/v1_0/user/profile',
  });
};
